
FROM registry.cn-beijing.aliyuncs.com/hub-mirrors/openjdk:8-jdk-alpine
RUN mkdir /app
WORKDIR /app
COPY ./target/easyblog-1.0.0.jar /app/app.jar

ENTRYPOINT ["java", "-Xms512m", "-Xmx1024m", "-Djava.security.egd=file:/dev/./urandom", "-XX:+UseG1GC", "-jar", "/app/app.jar"]